import defaultSettings from '@/settings'
import request from '@/utils/request'

// 主页查询
export function queryUrl(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/digitalCertificate/DigitalCertificateBindingManage/search`,
    method: 'get'
  })
}

// 主页提交
export function submit(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/digitalCertificate/DigitalCertificateBindingManage/save`,
    method: 'post',
    data
  })
}